<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>已知⼀个数组序列，全部为正整数，找出其中任意两个数相差最⼤的组合</title>
</head>

<body>
  <script>

    let arr = [5, 3, 8, 45, 95, 136]
    console.log(Math.max.apply(null, arr))
    console.log(Math.min.apply(null, arr))
  </script>
</body>

</html>